package com.hcinfos.gsoo.config;

public class Urls {

	public static final String BASIC_URL = "http://www.gsoo.com/api/v01/";
	public static final String COMMON_URL = "http://www.gsoo.com/";
	public static final String url = "http://www.gsoo.com";
	// public static final String BASIC_URL =
	// "http://192.168.1.11:8080/gsoo/api/v01/";
	// public static final String COMMON_URL = "http://192.168.1.11:8080/gsoo/";
	// public static final String url = "http://192.168.1.11:8080/gsoo";

	public static final String REMOTE_URL = "http://www.gsoo.com/";

	/**
	 * 热门关键字
	 */
	public static final String HOT_KEYWORD_URL = BASIC_URL
			+ "call_listHotKeywords";
	/**
	 * 搜索 page 当前第几页 1 - n rows 每页显示多少条 k 关键字
	 */
	public static final String SEARCH_KEYWORD = BASIC_URL
			+ "call_listSupplyer?";
	/**
	 * 店铺图片列表 http://192.168.0.104:8080/gsoo/api/v01/call_listSuppImages?suppId=
	 * d2d7e50900db45348daca77a82dd2fb8&page=1&rows=10
	 */
	public static final String SHOP_IMG_LIST = BASIC_URL
			+ "call_listSuppImages?";

	/**
	 * 查找详情
	 */
	public static final String FIND_SHOP_DETAIL = COMMON_URL
			+ "supplyerExt_findByPkDetail";
	/**
	 * 城市列表 http://192.168.0.104:8080/gsoo/api/v01/call_listCitys?page=1&rows=99
	 */
	public static final String CITY_LIST = BASIC_URL + "call_listCitys?";
	/**
	 * 切换城市
	 */
	public static final String CHANGE_CITY = COMMON_URL + "changeCityAjax?";
	/**
	 * 获取当前所在的城市
	 */
	public static final String GET_CURRENT_CITY = BASIC_URL + "call_icity";
	/**
	 * 登陆注册
	 * http://192.168.0.104:8080/gsoo/api/v01/call_reg?user.email=b@a.a&user
	 * .password=aaaaaa&user.username=hello
	 */

	public static final String USER_REG = BASIC_URL + "call_reg?";

	/**
	 * gsoo号注册
	 */
	public static final String USER_REG_GSOO = BASIC_URL + "call_regGGNumber?";

	/**
	 * 邮箱注册
	 */
	public static final String callnew_reg = BASIC_URL + "callnew_reg?";

	/**
	 * 用户登陆http://192.168.0.104:8080/gsoo/api/v01/call_login?user.email=a@a.a&
	 * user.password=aaaaaa
	 */

	public static final String USER_LOGIN = BASIC_URL + "call_login?";
	public static final String NEW_USER_LOGIN = BASIC_URL + "call_login";
	/**
	 * 协议
	 */
	public static final String WEB_AGREE = BASIC_URL + "call_regProtocol";
	/**
	 * 商铺评论列表
	 */
	public static final String SHOP_COMMENT_LIST = COMMON_URL
			+ "commentExt_listComment?";
	/**
	 * 店铺点评
	 */
	public static final String SHOP_COMMENT_EDIT = COMMON_URL
			+ "commentExt_comment?";
	/**
	 * 用户注销
	 */
	public static final String USER_LOGOUT = BASIC_URL + "call_exit";
	/**
	 * 商铺信息提交
	 */
	public static final String ADD_SHOPINFO = BASIC_URL
			+ "call_subimtSupplyer?";
	/**
	 * 上传图片
	 */
	public static final String UPLOAD_IMG = BASIC_URL
			+ "callimg_uploadSuppimg?";
	/**
	 * 获取所有的类型
	 */
	public static final String GET_ALL_TYPE = BASIC_URL + "call_allTypes";

	/**
	 * 获取所有子地区
	 */
	public static final String GET_ALL_AREA = BASIC_URL + "call_allAreas";
	/**
	 * 反馈
	 */
	public static final String SHOP_FEEDBACK = BASIC_URL + "call_feedback?";
	/**
	 * 纠错
	 */
	public static final String UPDATE_SHOP_INFO = BASIC_URL + "call_rerror?";
	/**
	 * 优惠券
	 */
	public static final String COUPONS_LIST = BASIC_URL + "call_listCoupons?";
	/**
	 * 会员卡
	 */
	public static final String VIP_LIST = BASIC_URL + "call_listVips?";
	/**
	 * 会员卡领取 activityExt_recCoupon?record.id=优惠劵id
	 */
	public static final String USER_VIP_CARD = COMMON_URL
			+ "activityExt_recCoupon?";
	/**
	 * 距离搜索 http://192.168.0.104:8080/gsoo/api/v01/call_listCitySupp?
	 * csrecord.lon
	 * =113.848600&csrecord.lat=22.905899&csrecord.kmScope=50.0&csrecord
	 * .typeId=4fa2d041271d48acb95c467eef183232&csOrder=0&page=1&rows=10
	 */

	public static final String LBS_INFO = BASIC_URL + "call_listCitySupp?";

	public static final String SHOP_LIST = BASIC_URL + "call_listSuppByAreaId?";

	public static final String NEW_SHOP_LIST = BASIC_URL
			+ "call_listSuppByAreaId";
	/**
	 * 版本信息
	 */
	public static final String VERSION = BASIC_URL + "call_findAndroidVersion";
	/**
	 * 新的版本信息 获取
	 */
	public static final String NEW_VERSION = "http://www.gsoo.com/apps/version.txt";

	/**
	 * 根据店铺来获取优惠信息
	 */
	public static final String COUPON_BY_SHOPID = BASIC_URL
			+ "call_listActivityBySuppId?";

	/**
	 * 上传音频文件
	 */
	public static final String UPLOAD_AUDIO_FILE = BASIC_URL
			+ "callAudio_uploadAudio?";

	/**
	 * 一键采集数据接口
	 */
	public static final String CRAW_BY_POID = BASIC_URL + "call_crawlByPoiId?";

	/**
	 * ================外卖========================
	 */

	/**
	 * 获取菜单类别信息
	 */
	public static final String W_GET_TYPE = url + "/gdMealsDishExt_list.action";
	/**
	 * 外卖 根据id获取详情
	 */
	public static final String W_GET_DETAIL = url
			+ "//enterprise/gdSupplerBasicConfExt_findByPk.action";

	/**
	 * 获取外卖配置信息
	 */

	public static final String W_GET_CONFIG = url
			+ "//enterprise/gdTakeAwayBasicConfExt_findByPk.action";
	/**
	 * 获取定制的配置信息
	 * 
	 */
	public static final String W_GET_DINGZUO_CONFIG = url
			+ "//enterprise/gdOrderTableBasicConfExt_findByPk.action";

	/**
	 * 提交外卖订单
	 */
	public static final String W_GET_SUBMIT = url
			+ "/gdTakeAwayOrderExt_placeOrder.action";

	/**
	 * 支付订单
	 */
	public static final String W_SUBMIT_ORDER = url
			+ "/gdTakeAwayOrderExt_payOrder.action";
	/**
	 * 根据订单号 获取 订单信息
	 */
	public static final String W_ORDRE_BY_ID = url
			+ "/enterprise/gdTakeAwayOrderExt_findOrder";
	/**
	 * 根据订单号id 获取已点菜单信息
	 */
	public static final String W_MENU_BY_ID = url
			+ "/enterprise/gdTakeAwayOrderDetailExt_listExt";
	/**
	 * 获取订单列表
	 */
	public static final String W_ORDER_LIST = url
			+ "/gdTakeAwayOrderExt_listOrder.action";

	/**
	 * 订单申请退款
	 */
	public static final String W_MONEY_CANCEL = url
			+ "/enterprise/gdTakeAwayOrderExt_cancelOrder";

	/**
	 * 
	 * 订单取消接口
	 */
	public static final String W_ORDER_CANCEL = url
			+ "/enterprise/gdTakeAwayOrderExt_cancelOrder";

	/**
	 * 确认订单
	 */
	public static final String W_CHECK_ORDER = url
			+ "/enterprise/gdTakeAwayOrderExt_checkOrderByUser";

	/**
	 * 外卖订单列表
	 */
	public static final String getSupplerBasic = url
			+ "/gdSupplerBasicConfExt_listExt?";

	/**
	 * 根据id找店铺详情
	 */
	public static final String gdSupplerBasicConfExt_findComm = url
			+ "/gdSupplerBasicConfExt_findComm";

	/**
	 * 修改用户收货地址信息
	 */

	public static final String gdTakeAwayOrderExt_modifyUserTaAddrs = url
			+ "/gdTakeAwayOrderExt_modifyUserTaAddrs";

	/**
	 * 查找好友 userExt_list?beanProxy.ggnumber_Like=22
	 */
	public static String userExt_list = COMMON_URL + "userExt_list";

	/**
	 * 修改密码
	 */
	public static String updatePwd = BASIC_URL + "call_modifyPwd";

	/**
	 * 查找用户
	 */
	public static String call_findLikeUser = BASIC_URL + "call_findUser";

	/**
	 * 礼品列表
	 */
	public static String callnew_giftList = BASIC_URL + "callnew_giftList";

	/**
	 * 订单提交
	 */
	public static String callnew_submitGiftExchange = BASIC_URL
			+ "callnew_submitGiftExchange";

	/**
	 * 兑换列表接口
	 */
	public static String callnew_exchangeRecordList = BASIC_URL
			+ "callnew_exchangeRecordList";
	/**
	 * 收获确认
	 */
	public static String callnew_confirmGetGift = BASIC_URL
			+ "callnew_confirmGetGift";

	/**
	 * 抽奖礼品
	 */
	public static String callnew_lotoryGiftList = BASIC_URL
			+ "callnew_lotoryGiftList";

	/**
	 * 抽奖积分
	 */
	public static String callnew_joinLotory = BASIC_URL + "callnew_joinLotory";

}
